package com.th.supcom.pds.domain.pojo;

import net.carefx.framework.translate.Translatable;
import net.carefx.framework.translate.annotation.TranslateField;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * PhamDispensaryConfig Pojo对象.
 * 
 * 药房属性.
 */
public class PhamDispensaryConfig implements java.io.Serializable, Translatable
{
    private static final long serialVersionUID = 1L;

    /** 药房属性主键. */
    private Long m_phamDispensaryConfigId;

    /** 所属药房. */
    @TranslateField (translatorName = "organizationTranslator", targetFieldName = "m_phamDispensaryName")
    private String m_phamDispensaryCode;
    private String m_phamDispensaryName;
    /** 静脉输液配置. */
    private Integer m_infusionConfig;

    /** 静脉输液开放标识. */
    private Integer m_infusionOpen;

    /** 打印=1，不打印=0. */
    private Integer m_dispensePrintFlag;

    /** 煎药机连接设置. */
    private Integer m_decoteConnFlag;

    /**
     * 窗口开放标志 开放=1，不开放=0.
     */
    private Integer m_openFlag;

    /** 服务起始时间. */
    private String m_startTime;
    /** 服务结束时间. */
    private String m_endTime;

    /** 显示到当前为止几天的处方. */
    private Integer m_prescDateBefore;

    /** 排队系统配置. */
    private Integer m_queueConfig;

    /** 排队系统开放标识. */
    private Integer m_queueEnable;

    /** 排队系统提示类型. */
    @TranslateField (fullQualifiedName = "PDS0018", targetFieldName = "m_queneName")
    private String m_queueType;
    private String m_queneName;

    /**
     * 药房摆药类型 中药= A 中成药=B 西药=C 儿科药房=D 大液体=E .
     */
    @TranslateField (fullQualifiedName = "PDS0023", targetFieldName = "m_phamName")
    private String m_phamType;
    private String m_phamName;
    /**
     * 药房班次类型 N=夜班 D=白班 A=全天.
     */
    @TranslateField (fullQualifiedName = "PDS0022", targetFieldName = "m_shiftName")
    private String m_shiftType;
    private String m_shiftName;

    private String m_deptPinyinCode;
    /** 处方查询范围 1=自身 0=全院 */
    private Integer m_searchRange;
    /**
     * 药房出库类型
     */
    @TranslateField (fullQualifiedName = "PDS0024", targetFieldName = "m_deliveryTypeName")
    private String m_deliveryType;
    private String m_deliveryTypeName;

    /**
     * 默认构造器 .
     */
    public PhamDispensaryConfig ()
    {
    }

    public Integer getSearchRange ()
    {

        return m_searchRange;
    }

    public void setSearchRange (Integer searchRange)
    {

        m_searchRange = searchRange;
    }

    public String getDeliveryType ()
    {

        return m_deliveryType;
    }

    public void setDeliveryType (String deliveryType)
    {

        m_deliveryType = deliveryType;
    }

    public String getDeliveryTypeName ()
    {

        return m_deliveryTypeName;
    }

    public void setDeliveryTypeName (String deliveryTypeName)
    {

        m_deliveryTypeName = deliveryTypeName;
    }

    public String getDeptPinyinCode ()
    {

        return m_deptPinyinCode;
    }

    public void setDeptPinyinCode (String deptPinyinCode)
    {

        m_deptPinyinCode = deptPinyinCode;
    }

    /**
     * 获取药房属性主键属性.
     * 
     */
    public Long getPhamDispensaryConfigId ()
    {
        return m_phamDispensaryConfigId;
    }

    /**
     * 设置药房属性主键属性.
     * 
     * @param phamDispensaryConfigId.
     */
    public void setPhamDispensaryConfigId (Long phamDispensaryConfigId)
    {
        m_phamDispensaryConfigId = phamDispensaryConfigId;
    }

    /**
     * 获取所属药房属性.
     * 
     */
    public String getPhamDispensaryCode ()
    {
        return m_phamDispensaryCode;
    }

    /**
     * 设置所属药房属性.
     * 
     * @param phamDispensaryCode.
     */
    public void setPhamDispensaryCode (String phamDispensaryCode)
    {
        m_phamDispensaryCode = phamDispensaryCode;
    }

    /**
     * 获取静脉输液配置属性.
     * 
     */
    public Integer getInfusionConfig ()
    {
        return m_infusionConfig;
    }

    /**
     * 设置静脉输液配置属性.
     * 
     * @param infusionConfig.
     */
    public void setInfusionConfig (Integer infusionConfig)
    {
        m_infusionConfig = infusionConfig;
    }

    /**
     * 获取静脉输液开放标识属性.
     * 
     */
    public Integer getInfusionOpen ()
    {
        return m_infusionOpen;
    }

    /**
     * 设置静脉输液开放标识属性.
     * 
     * @param infusionOpen.
     */
    public void setInfusionOpen (Integer infusionOpen)
    {
        m_infusionOpen = infusionOpen;
    }

    /**
     * 获取打印=1，不打印=0属性.
     * 
     */
    public Integer getDispensePrintFlag ()
    {
        return m_dispensePrintFlag;
    }

    /**
     * 设置打印=1，不打印=0属性.
     * 
     * @param dispensePrintFlag.
     */
    public void setDispensePrintFlag (Integer dispensePrintFlag)
    {
        m_dispensePrintFlag = dispensePrintFlag;
    }

    /**
     * 获取煎药机连接设置属性.
     * 
     */
    public Integer getDecoteConnFlag ()
    {
        return m_decoteConnFlag;
    }

    /**
     * 设置煎药机连接设置属性.
     * 
     * @param decoteConnFlag.
     */
    public void setDecoteConnFlag (Integer decoteConnFlag)
    {
        m_decoteConnFlag = decoteConnFlag;
    }

    /**
     * 获取窗口开放标志 开放=1，不开放=0属性.
     * 
     */
    public Integer getOpenFlag ()
    {
        return m_openFlag;
    }

    /**
     * 设置窗口开放标志 开放=1，不开放=0属性.
     * 
     * @param openFlag.
     */
    public void setOpenFlag (Integer openFlag)
    {
        m_openFlag = openFlag;
    }

    /**
     * 获取服务起始时间属性.
     * 
     */
    public String getStartTime ()
    {
        return m_startTime;
    }

    /**
     * 设置服务起始时间属性.
     * 
     * @param startTime.
     */
    public void setStartTime (String startTime)
    {
        m_startTime = startTime;
    }

    /**
     * 获取服务结束时间属性.
     * 
     */
    public String getEndTime ()
    {
        return m_endTime;
    }

    /**
     * 设置服务结束时间属性.
     * 
     * @param endTime.
     */
    public void setEndTime (String endTime)
    {
        m_endTime = endTime;
    }

    /**
     * 获取显示到当前为止几天的处方属性.
     * 
     */
    public Integer getPrescDateBefore ()
    {
        return m_prescDateBefore;
    }

    /**
     * 设置显示到当前为止几天的处方属性.
     * 
     * @param prescDateBefore.
     */
    public void setPrescDateBefore (Integer prescDateBefore)
    {
        m_prescDateBefore = prescDateBefore;
    }

    /**
     * 获取排队系统配置属性.
     * 
     */
    public Integer getQueueConfig ()
    {
        return m_queueConfig;
    }

    /**
     * 设置排队系统配置属性.
     * 
     * @param queueConfig.
     */
    public void setQueueConfig (Integer queueConfig)
    {
        m_queueConfig = queueConfig;
    }

    /**
     * 获取排队系统开放标识属性.
     * 
     */
    public Integer getQueueEnable ()
    {
        return m_queueEnable;
    }

    /**
     * 设置排队系统开放标识属性.
     * 
     * @param queueEnable.
     */
    public void setQueueEnable (Integer queueEnable)
    {
        m_queueEnable = queueEnable;
    }

    /**
     * 获取排队系统提示类型属性.
     * 
     */
    public String getQueueType ()
    {
        return m_queueType;
    }

    /**
     * 设置排队系统提示类型属性.
     * 
     * @param queueType.
     */
    public void setQueueType (String queueType)
    {
        m_queueType = queueType;
    }

    /**
     * 获取药房摆药类型 中药= A 中成药=B 西药=C 儿科药房=D 大液体=E 属性.
     * 
     */
    public String getphamType ()
    {
        return m_phamType;
    }

    /**
     * 设置药房摆药类型 中药= A 中成药=B 西药=C 儿科药房=D 大液体=E 属性.
     * 
     * @param phamType.
     */
    public void setphamType (String phamType)
    {
        m_phamType = phamType;
    }

    /**
     * 获取药房班次类型 N=夜班 D=白班 A=全天属性.
     * 
     */
    public String getShiftType ()
    {
        return m_shiftType;
    }

    /**
     * 设置药房班次类型 N=夜班 D=白班 A=全天属性.
     * 
     * @param shiftType.
     */
    public void setShiftType (String shiftType)
    {
        m_shiftType = shiftType;
    }

    public String getPhamDispensaryName ()
    {

        return m_phamDispensaryName;
    }

    public void setPhamDispensaryName (String phamDispensaryName)
    {

        m_phamDispensaryName = phamDispensaryName;
    }

  


    public String getQueneName ()
    {

        return m_queneName;
    }

    public void setQueneName (String queneName)
    {

        m_queneName = queneName;
    }

    public String getPhamName ()
    {

        return m_phamName;
    }

    public void setPhamName (String phamName)
    {

        m_phamName = phamName;
    }

    public String getShiftName ()
    {

        return m_shiftName;
    }

    public void setShiftName (String shiftName)
    {

        m_shiftName = shiftName;
    }

    /**
     * 打印字符串.
     * 
     * @return 打印.
     */
    public String toString ()
    {
        StringBuffer sb = new StringBuffer (100);
        sb.append ("---------------------------------- start ----------------------------------");
        sb.append ("phamDispensaryConfigId:" + m_phamDispensaryConfigId + " phamDispensaryCode:" + m_phamDispensaryCode + " infusionConfig:" + m_infusionConfig);
        sb.append ("infusionOpen:" + m_infusionOpen + " dispensePrintFlag:" + m_dispensePrintFlag + " decoteConnFlag:" + m_decoteConnFlag);
        sb.append ("openFlag:" + m_openFlag + " startTime:" + m_startTime + " endTime:" + m_endTime);
        sb.append ("prescDateBefore:" + m_prescDateBefore + " queueConfig:" + m_queueConfig + " queueEnable:" + m_queueEnable);
        sb.append ("queueType:" + m_queueType + " phamType:" + m_phamType + " shiftType:" + m_shiftType);

        sb.append ("----------------------------------  end  ----------------------------------");
        return sb.toString ();
    }

    /** 日志记录器. */
    public static final Logger s_logger = LoggerFactory.getLogger (PhamDispensaryConfig.class);

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
}